\hypertarget{b__core_8h}{}\section{b\+\_\+core.\+h File Reference}
\label{b__core_8h}\index{b\+\_\+core.\+h@{b\+\_\+core.\+h}}
{\ttfamily \#include \char`\"{}b\+\_\+config.\+h\char`\"{}}\newline
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structb_core_dev_table__t}{b\+Core\+Dev\+Table\+\_\+t}}
\item 
struct \mbox{\hyperlink{structb_core_fd__t}{b\+Core\+Fd\+\_\+t}}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga9632edfe3a6652c254922f0fc6e4315c}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+R}}~0
\item 
\#define \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga5e134ab3ebc11db6d585cfc1a48aadf0}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+W}}~1
\item 
\#define \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga0198147efa03609c64760662bd8ea00c}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+RW}}~2
\item 
\#define \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga925f6e907905a6bb8722167d2557474d}{B\+C\+O\+R\+E\+\_\+\+S\+T\+A\+\_\+\+N\+U\+LL}}~0
\item 
\#define \mbox{\hyperlink{group___c_o_r_e___exported___defines_gacc7e4aa393f80aff9c3dbf5d974c8698}{B\+C\+O\+R\+E\+\_\+\+S\+T\+A\+\_\+\+O\+P\+EN}}~1
\item 
\#define \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga940e3dead286914001d8cb4606edc023}{B\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+M\+AX}}~10
\item 
\#define \mbox{\hyperlink{group___c_o_r_e___exported___macros_gac13b338bc1723e394a7d9743e31d23ea}{I\+S\+\_\+\+V\+A\+L\+I\+D\+\_\+\+F\+L\+AG}}(n)~(n == \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga9632edfe3a6652c254922f0fc6e4315c}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+R}} $\vert$$\vert$ n == \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga5e134ab3ebc11db6d585cfc1a48aadf0}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+W}} $\vert$$\vert$ n == \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga0198147efa03609c64760662bd8ea00c}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+RW}})
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_gad02e8fddcae0585773c027e81bba5f2c}{b\+Init}} (void)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga249e47165f733672eae3653fcca87829}{b\+Open}} (uint8\+\_\+t dev\+\_\+no, uint8\+\_\+t flag)
\begin{DoxyCompactList}\small\item\em Open a device. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga19ddb6f8ca523b3b28b74ea6a1519e3b}{b\+Read}} (int fd, uint8\+\_\+t $\ast$pdata, uint16\+\_\+t len)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga078b200cdc68be6d562cc1ad323d9381}{b\+Write}} (int fd, uint8\+\_\+t $\ast$pdata, uint16\+\_\+t len)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_gaf0a95eb51c436b56de56cdc63f5dab7c}{b\+Ctl}} (int fd, uint8\+\_\+t cmd, void $\ast$param)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_gad49412624e7b58f0b90ff43e60823eb1}{b\+Lseek}} (int fd, uint32\+\_\+t off)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga2d5143bd4493f8069401bb433939de4f}{b\+Close}} (int fd)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga2579ab6e79fad3d62796972ab85a14f0}{b\+Core\+Is\+Idle}} (void)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
!

\begin{DoxyVersion}{Version}
v0.\+0.\+1 
\end{DoxyVersion}
\begin{DoxyDate}{Date}
2019/06/05 
\end{DoxyDate}
\begin{DoxyAuthor}{Author}
Bean(\href{mailto:notrynohigh@outlook.com}{\tt notrynohigh@outlook.\+com})
\end{DoxyAuthor}
\begin{DoxyAttention}{Attention}

\end{DoxyAttention}
Copyright (c) 2019 Bean

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \char`\"{}\+Software\char`\"{}), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions\+:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

T\+HE S\+O\+F\+T\+W\+A\+RE IS P\+R\+O\+V\+I\+D\+ED \char`\"{}\+A\+S I\+S\char`\"{}, W\+I\+T\+H\+O\+UT W\+A\+R\+R\+A\+N\+TY OF A\+NY K\+I\+ND, E\+X\+P\+R\+E\+SS OR I\+M\+P\+L\+I\+ED, I\+N\+C\+L\+U\+D\+I\+NG B\+UT N\+OT L\+I\+M\+I\+T\+ED TO T\+HE W\+A\+R\+R\+A\+N\+T\+I\+ES OF M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY, F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE A\+ND N\+O\+N\+I\+N\+F\+R\+I\+N\+G\+E\+M\+E\+NT. IN NO E\+V\+E\+NT S\+H\+A\+LL T\+HE A\+U\+T\+H\+O\+RS OR C\+O\+P\+Y\+R\+I\+G\+HT H\+O\+L\+D\+E\+RS BE L\+I\+A\+B\+LE F\+OR A\+NY C\+L\+A\+IM, D\+A\+M\+A\+G\+ES OR O\+T\+H\+ER L\+I\+A\+B\+I\+L\+I\+TY, W\+H\+E\+T\+H\+ER IN AN A\+C\+T\+I\+ON OF C\+O\+N\+T\+R\+A\+CT, T\+O\+RT OR O\+T\+H\+E\+R\+W\+I\+SE, A\+R\+I\+S\+I\+NG F\+R\+OM, O\+UT OF OR IN C\+O\+N\+N\+E\+C\+T\+I\+ON W\+I\+TH T\+HE S\+O\+F\+T\+W\+A\+RE OR T\+HE U\+SE OR O\+T\+H\+ER D\+E\+A\+L\+I\+N\+GS IN T\+HE S\+O\+F\+T\+W\+A\+RE. 